
main > .top {
    margin: 0 auto;
}

/*main banner*/
main .top .banner-box {
    position: relative;
    width: 100%;
    min-width: 1200px;
    height: 360px;
}

main .top .banner-box > img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 360px;
}

main .top .banner-box > .prev {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 50%;
    left: 140px;
    margin-top: calc(-50px / 2);
    background: url("../../images/prev.png");
}

main .top .banner-box > .next {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 50%;
    right: 140px;
    margin-top: calc(-50px / 2);
    background: url("../../images/next.png");
}

/*main mid news*/
.mid {
    margin: 0 auto;
    padding-top: 30px;
}

.mid > .mid-left {
    width: 780px;
}

.mid .main-show {
    width: 780px;
    height: fit-content;
    box-sizing: border-box;
    padding: 20px 30px;
    background-color: #ffffffdd;
}

.mid .main-show > .left, .mid .main-show > .right {
    width: 50%;
    float: left;
    padding-right: 10px;
    padding-left: 10px;
    box-sizing: border-box;
}

.mid .main-show > .left {
    padding-right: 20px;
}

.mid .main-show > .right {
    padding-left: 20px;
}

.mid .main-show .left > .rddt {
    width: 100%;
}

.mid .main-show .title-box {
    position: relative;
    height: 17px;
    padding-bottom: 20px;

}

.mid .main-show .title-box > span:nth-of-type(1) {
    color: #0465a2;
    font-size: 17px;
    line-height: 17px;
}

.mid .main-show .title-box > span:nth-of-type(2) {
    position: absolute;
    left: 80px;
    right: 0;
    top: 4px;
    height: 13px;
    background: url("../../images/bg_news_title.png") repeat;
    line-height: 17px;
}

.mid .mid-right {
    width: 360px;
}

/*新闻banner*/
.mid .mid-left .main-show .left .rddt .content .news-banner {
    position: relative;
    max-width: 100%;
    height: 220px;
}

.mid .mid-left .main-show .left .rddt .content .news-banner > a > img {
    position: absolute;
    width: 100%;
    height: 220px;
}

.mid .mid-left .main-show .left .rddt .content .news-banner > .banner-selector {
    position: absolute;
    height: 30px;
    bottom: 0;
    right: 0;
    background-color: #00000077;

}

.mid .mid-left .main-show .left .rddt .content .news-banner > .banner-selector > ul > li {
    float: left;
    width: 40px;
    text-align: center;
    line-height: 30px;
    color: white;
    border: 1px solid #cccccc55;
    transition: background-color 500ms;
}

.mid .mid-left .main-show .left .rddt .content .news-banner > .banner-selector > ul > li.active {
    background-color: #4996fd;
}

.mid .mid-left .main-show .left .rddt .content .news-banner > .banner-selector > ul > li:hover {
    background-color: #4996fd;

}

/*新闻条目*/
.mid .mid-left .main-show .left .news-items {
    margin-top: 20px;
}

.mid .mid-left .main-show .left .news-items > li {
    height: 40px;
    line-height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-bottom: 2px solid #cccccc;
    box-sizing: border-box;
    font-size: 12px;

}

/*校友活动*/
.mid .mid-left .main-show .xyhds > li {
    height: 55px;
    margin-bottom: 20px;
}

.mid .mid-left .main-show .xyhds > li > .date-show {
    width: 60px;
    height: 100%;
    background-color: #4996fd;
    border: 1px solid #4996fd;
}

.mid .mid-left .main-show .xyhds > li > .date-show > span:nth-of-type(1) {
    display: block;
    height: 22px;
    line-height: 22px;
    font-size: 12px;
    text-align: center;
    color: white;

}

.mid .mid-left .main-show .xyhds > li > .date-show > span:nth-of-type(2) {
    display: block;
    height: 33px;
    line-height: 33px;
    text-align: center;
    font-size: 14px;
    background-color: #fff;
}

.mid .mid-left .main-show .xyhds > li > .hd-box {
    width: calc(100% - 62px);
    box-sizing: border-box;
    padding: 0px 10px;
    height: 100%;
}

.mid .mid-left .main-show .xyhds > li > .hd-box > .title {
    display: block;
    height: 60%;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    -webkit-text-overflow: ellipsis;
    -moz-text-overflow: ellipsis;
    white-space: nowrap;
}

.mid .mid-left .main-show .xyhds > li > .hd-box > .date {
    display: block;
    height: 40%;
    font-size: 14px;
    padding-top: 4px;
    color: #7f7e82;
}

/*校友论坛*/
.xylt .content > img.logo {
    width: 100%;
    box-shadow: 10px 10px 10px;
}

.xylt .content > h2 {
    margin-top: 20px;
    font-size: 16px;
    font-weight: normal;
}

.xylt .content > h2 > a {
    color: #4996fd;
}

/*杰出校友*/
.mid .jcxy, .mid .yssy {
    width: 360px;
    height: fit-content;
    overflow: hidden;
}

.mid .jcxy .jcxys {
    width: 2000px;
    animation-name: anm-xy;
    animation-duration: 20s;
    animation-delay: 0s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-play-state: running;
}

.mid .jcxy .jcxys:hover {
    animation-play-state: paused;
}

.mid .jcxy .jcxys > a > li {
    width: 360px;
    height: 370px;
    padding: 20px;
    border-left: 3px solid #ccccccdd;
    box-sizing: border-box;
    float: left;
}

.mid .jcxy .jcxys > a > li > img {
    display: block;
    max-width: 200px;
    max-height: 200px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 10px 10px 30px black;
}

.mid .jcxy .jcxys > a > li > h2 {
    display: block;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: normal;
    font-size: 20px;
    font-family: '楷体';
}

.mid .jcxy .jcxys > a > li > p {
    margin-top: 20px;
    height: 60px;
    text-indent: 2em;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    box-sizing: border-box;
    font-size: 12px;
}

/*校友捐赠表格*/
.mid .mid-right .yssy .content {
    height: 130px;
    overflow: hidden;
}

.mid .mid-right .yssy .xyjzs {

    animation-name: anm-jz;
    animation-duration: 20s;
    animation-delay: 0s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-play-state: running;
}

.mid .mid-right .yssy .xyjzs > li {
    height: 40px;
    padding-left: 20px;
    padding-right: 20px;
    border-bottom: 2px solid #ccccccdd;
    box-sizing: border-box;
}

.mid .mid-right .yssy .xyjzs > li > span {
    display: inline-block;
    height: 40px;
    line-height: 40px;
}

.mid .mid-right .yssy .xyjzs > li > span:nth-of-type(3) {
    float: right;
}

/*杰出校友滚动动画*/
@keyframes anm-xy {
    from {
        margin-left: 0;
    }
    to {
        margin-left: calc(-100% * 4);
    }
}

/*校友捐赠滚动动画*/
@keyframes anm-jz {
    from {
        margin-top: 0;
    }
    to {
        margin-top: calc(-40px * 10);
    }
}
